package com.microexam.sunorder.service;

import com.microexam.suncommon.util.ResultVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("sunproduct")
public interface IProductService {
    @GetMapping("/getProduct/{pid}")
    ResultVO findByPid(@PathVariable("pid") Integer pid);

//    @GetMapping("/products/testloadbalance")
//    ResultVO testLoadBalance();
}
